<html>
 <head>
 <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
 <title>CKEditor</title>
 </head>
 <body>
 <form action="b.php" method="post">
   <textarea name="editor1">CKEditor Demo</textarea>
   <input type="submit" name="submit" value="Submit" />
 </form>
 </body>
 <script src="ckeditor/ckeditor.js"></script>
 <script type="text/javascript">
// 启用 CKEitor 的上传功能，使用了 CKFinder 插件
CKEDITOR.replace( 'editor1', {
filebrowserBrowseUrl : 'ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?Type=Images',
filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?Type=Flash',
filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
});
</script>
 </html>